<li class="page<%= ' active' if page.current? %>">
  <%= link_to_unless page.current?, content_tag(:span, page), url, rel: page.rel, remote: remote %>
</li>